Skip to main content

CDB and CDI in Brazil

CDB returns are expressed as a percentage of the CDI rate.

Examples:

  • 80% CDI → conservative
  • 100% CDI → standard bank CDB
  • 120% CDI → very competitive

The library calculates:

  • Gross profit
  • IR taxes
  • Net profit
  • Formatted output